package io.finer.erp.jeecg.finance.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

/**
 * @Description: 出入库单
 * @Author: jeecg-boot
 * @Date:   2020-04-02
 * @Version: V1.0
 */
@ApiModel(value="stk_io_bill对象", description="出入库单")
@Data
@TableName("stk_io_bill")
public class CGDIoBillFKVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**ID*/
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "ID")
    private String id;
    /**供应商*/
    @Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    private java.lang.String supplierName;
    /**供应商id*/
    @Excel(name = "供应商id", width = 15)
    @ApiModelProperty(value = "供应商id")
    private java.lang.String supplierId;
    /**单据编号*/
    @Excel(name = "采购单号", width = 15)
    @ApiModelProperty(value = "采购单号")
    private String billNo;
    /**单据日期*/
    @Excel(name = "订单日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "订单日期")
    private java.util.Date orderTime;
    /**订单金额*/
    @Excel(name = "订单金额", width = 15)
    @ApiModelProperty(value = "订单金额")
    private java.math.BigDecimal orderMoney;
    /**核销状态*/
    @ApiModelProperty(value = "销状态")
    @Dict(dicCode = "hxStatus")
    private java.lang.String hxStatus;
    /**核销金额*/
    @ApiModelProperty(value = "核销金额")
    private BigDecimal hxPrice;
    /**累计金额*/
    @Excel(name = "累计金额", width = 15)
    @ApiModelProperty(value = "累计金额")
    private BigDecimal accumulatedPrice;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;


}
